package com.chinairi.mall.dao;

import com.chinairi.mall.param.SecondCockpitManageQueryModel;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;
import java.util.List;
import java.util.Map;

/**
 * 领导驾驶舱数据交互接口
 * @author 李昌赐
 * @since 2020−12-02
 */
@Repository
public interface SecondCockpitManageMapper {

    /**
     * 项目信息查询
     * @param secondCockpitManageQueryModel 查询条件
     * @return 项目信息
     */
    List<Map<String,Object>> listProject(@Param("secondCockpitManageQueryModel") SecondCockpitManageQueryModel secondCockpitManageQueryModel);

    /**
     * 项目需求计划信息查询
     * @param secondCockpitManageQueryModel 查询条件
     * @return 项目需求计划信息查询
     */
    List<Map<String,Object>> listProjectPlanReq(@Param("secondCockpitManageQueryModel") SecondCockpitManageQueryModel secondCockpitManageQueryModel);

    /**
     * 需求计划的商品订单信息查询
     * @param secondCockpitManageQueryModel 查询条件
     * @return 需求计划的商品订单信息查询
     */
    List<Map<String,Object>> listGoodsOrder(@Param("secondCockpitManageQueryModel") SecondCockpitManageQueryModel secondCockpitManageQueryModel);

    /**
     * 商品订单的服务订单信息查询
     * @param secondCockpitManageQueryModel 查询条件
     * @return 商品订单的服务订单信息查询
     */
    List<Map<String,Object>> listServiceOrder(@Param("secondCockpitManageQueryModel") SecondCockpitManageQueryModel secondCockpitManageQueryModel);
}
